package com.jiuyun.Dao;

import com.jiuyun.entity.Hero;

import java.util.ArrayList;
import java.util.List;

public class HeroDao {
    //模拟数据库访问
    public List getPage(){
        List list=new ArrayList();
        list.add(new Hero(100,"temo"));
        list.add(new Hero(101,"德玛"));
        list.add(new Hero(102,"剑圣"));
        list.add(new Hero(103,"露露"));
        list.add(new Hero(104,"小丑"));
        return list;
    }
}
